import { createFeatureSelector, createSelector } from '@ngrx/store';
import { ActiveModuleState } from '../modules/active-module';
import { focusFeatureKey } from '../reducers/focus-reducer';


export const selectFocusState = createFeatureSelector<ActiveModuleState>(focusFeatureKey);
export const selectFocus = createSelector(
    selectFocusState,
    (state: ActiveModuleState) => state
);;
